package com.sk.skplanet.commute.vo;

import java.util.ArrayList;
import java.util.List;

public class Point extends BusServerVo {
	private String name;
	private long route_id;

	private List<StopInfo> stopinfos;

	public Point(int id, String name, long route_id) {
		super(id);
		this.route_id = route_id;
		this.name = name;
		stopinfos = new ArrayList<StopInfo>();
	}

	public List<StopInfo> getStopInfos() {
		return stopinfos;
	}

	public void setStopInfos(List<StopInfo> stopinfos) {
		this.stopinfos = stopinfos;
	}

	public long getRoute_id() {
		return route_id;
	}

	public void setRoute_id(int route_id) {
		this.route_id = route_id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Point [id=" + id + ", route_id=" + route_id + ", name=" + name + "]";
	}

}
